﻿using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.Contracts;

namespace Library.Collections.Generic
{
    [ImmutableObject(true)]
    public interface IQueueReadOnly<TElement> : IContainer<TElement>, ICountable, IEnumerable<TElement>
    {
        [Pure]
        bool Peek(out TElement item);
    }
}
